<?php
namespace app\common\validate;
use think\Validate;
class User extends Validate
{
	protected $rule =
	[
		'email'      =>  'require|email',
		'user'       =>  'require|max:12',
		'password'   =>  'require|max:12',
		'repassword' =>  'require|confirm:password'
	];
}